<?php
$defaultSequence =(int)0;
$mySequence =$defaultSequence;
try{
	$mySequence= $_GET["sequence"];
}catch(Exception $e){
	$mySequence=$defaultSequence;
}
try{
  $mySequence= (int) $mySequence;
}catch(Exception $e){
  $mySequence=$defaultSequence;
}

// query the database for lattitude and longitude lines for $mySequence
/*
 * JSON Format
 * Latitude, longitude, description
 * 
 * Elgin: 42.410740, -83.021973
 * Ogden: 42.6073699, -83.030197
 * MCRD: 32.740783, -117.196843
 * Camp Pendelton: 33.3173, -117.3156
 * Kanehoe Bay 21.44812, -157.74964
 * Camp Smith 21.38587, -157.90924
 * Hanover Court with Wendy 42.618644, -83.013918
 * Bloomfield Home 42.5389622, -83.275494
 * Conservation Trail 42.657103, -83.009115
 * Westwood drive in troy 42.5494693, -83.135516
 * Home 42.5849762, -82.839329
 * Oil Creek Campground: 41.557042, -79.671172
 * MGM Grand: 36.101354, -115.172178
 * West Branch: 44.252938, -84.04971
 * Sangria: 42.486949, -83.147471
 * 
 */
?>